//
//  Sponsor.h
//  SHPE Conference Companion
//
//  Created by Richard Kirk on 4/2/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Conference, SponsorshipLevel;

@interface Sponsor : NSManagedObject <NSXMLParserDelegate> {
@private
}
@property (nonatomic, retain) NSString * thumbnailURL;
@property (nonatomic, retain) NSString * website;
@property (nonatomic, retain) NSNumber * id;
@property (nonatomic, retain) NSString * recruiting;
@property (nonatomic, retain) NSString * acceptingInternationalStudents;
@property (nonatomic, retain) NSData * thumbnailData;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSSet* conference;
@property (nonatomic, retain) SponsorshipLevel * level;

@property (nonatomic, retain) id parent;

@property (nonatomic, retain) NSXMLParser *xmlParser;
@property (nonatomic, retain) NSMutableString *xmlStringBuilder;



-(id)initWithParser:(NSXMLParser *)parser attributeDict:(NSDictionary *)attributes parent:(id)parentObject;
-(id)initWithSponsorId:(int) sponsorId;





@end
